// to compile: g++ -I/Users/minhdt/Documents/Study/libs testBitMagic.cpp

#include <iostream>
#include "bm3.7.0/src/bm.h"

int main()
{
  bm::bvector<> bv;

  bv.set(0);

  std::size_t bit = bv.get_first();
  std::size_t c   = bv.count();

  std::cout << "bit = " << bit << std::endl;
  std::cout << "c   = " << c << std::endl;
}
